#pragma once

#include <Windows.h>

class WhyTime
{
	LARGE_INTEGER start;
	LARGE_INTEGER end;
	LARGE_INTEGER frequency;

	double deltatime;

public:

	WhyTime();

	void Start();
	void End();

	double GetDeltaTime() { return deltatime; }
	float GetDeltaTimeF() { return (float)deltatime; }
};